package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.RunfastWithdrawMapper;
import com.runfast.waimai.dao.model.RunfastWithdraw;
import com.runfast.waimai.dao.model.RunfastWithdrawExample;
import com.runfast.waimai.service.RunfastWithdrawService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class RunfastWithdrawServiceImpl extends BaseService<RunfastWithdraw, Integer, RunfastWithdrawExample> implements RunfastWithdrawService {
    @Resource
    RunfastWithdrawMapper dao;
    @Override
    public List<RunfastWithdraw> findMoneyhome(String name, Integer state, Integer status, String usermobile, Date createtime1, Date createtime2,Integer page,Integer pagesize) {
        return dao.findMoneyhome(name, state, status, usermobile,createtime1,createtime2,page,pagesize);
    }

    @Override
    public List<RunfastWithdraw> findBusinessMoneyhome(String name, Date createtime1, Date createtime2,Integer page,Integer pagesize) {
        return dao.findBusinessMoneyhome(name, createtime1,createtime2,page,pagesize);
    }
}